package com.yuwei.home.parking_space_management.car_adapter

import android.widget.ImageView
import androidx.databinding.BindingAdapter

object CommonBindingAdapter {
    @JvmStatic
    @BindingAdapter("loadResImage")
    fun loadResImages(iv:ImageView,resId:Int){
        if (resId !=0){
            GlideImageLoader.loadImage(iv.context,iv,resId.toString())
        }
    }
}